package com.example.bankend.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author luolinila
 * @date 2025/6/20 15:45
 */
@Data
public class SelectAllUser {
    @JsonProperty("adminID")
    private Long adminID;
    @JsonProperty("adminName")
    private String adminName;
    @JsonProperty("adminPass")
    private String adminPass;

    public boolean isTure() {
        return adminID != null
                && adminName != null
                && adminPass != null;
    }
}
